class Solution:
    def canAliceWin(self, nums: list[int]) -> bool:
        cnt_1 = 0
        cnt_2 = 0
        for i in nums:
            if i >= 10:
                cnt_2 += i
            else:
                cnt_1 += i
        return cnt_1 != cnt_2

if __name__ == "__main__":
    s = Solution()
    print(s.canAliceWin(nums = [5,5,5,25]))
    print(s.canAliceWin(nums = [1,2,3,4,5,14]))
    print(s.canAliceWin([1,2,3,4,10]))